<template>
    <!-- 面包屑导航 -->
    <el-breadcrumb separator="/">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>{{navName.oneName}}</el-breadcrumb-item>
        <el-breadcrumb-item>{{navName.twoName}}</el-breadcrumb-item>
    </el-breadcrumb>
</template>
<script>
export default {
    data() {
        return {
            navName:JSON.parse(sessionStorage.getItem('menu'))
        }
    }
}
</script>